#ifndef PHYSICS_PARALLEL_JOINT_H
#define PHYSICS_PARALLEL_JOINT_H

#include "Common/Common.h"
#include "IJoint.h"

namespace physics {

	class IParallelJoint : public IJoint {
	public:

		virtual Vec2 GetAxis( ) const = 0;

		virtual bool IsLimitEnabled( ) const = 0;
		virtual void SetLimitEnabled( bool enableLimit ) = 0;

		virtual float GetLeftLimit( ) const = 0;
		virtual void SetLeftLimit( float leftLimit ) = 0;

		virtual float GetRightLeftLimit( ) const = 0;
		virtual void SetRightLimit( float rightLimit ) = 0;

		virtual bool IsMotorEnabled( ) const = 0;
		virtual void SetMotorEnabled( bool enableMotor ) = 0;

		virtual float GetMotorForce( ) const = 0;
		virtual void SetMotorForce( float force ) = 0;

		virtual float GetMotorSpeed( ) const = 0;
		virtual void SetMotorSpeed( float speed ) = 0;
	};
}
#endif
